package cn.jishiyu11.xeqb.control

import android.annotation.SuppressLint
import android.content.Context
import android.util.AttributeSet
import android.widget.Button

/**
 * Created by vvguoliang on 2017/6/28.
 * 自定义 button
 */

@SuppressLint("AppCompatCustomView")
class MyButton : Button {

    constructor(context: Context) : super(context) {
        initButtonView(context)
    }

    constructor(context: Context, attrs: AttributeSet) : super(context, attrs) {
        initButtonView(context)
    }

    constructor(context: Context, attrs: AttributeSet, defStyleAttr: Int) : super(context, attrs, defStyleAttr) {
        initButtonView(context)
    }

    private fun initButtonView(mContext: Context) {
        //        this.setTypeface(SXSApplication.typeface);

    }
}
